package com.wxd.service.impl;

import com.wxd.entity.Class;
import com.wxd.mapper.ClassMapper;
import com.wxd.service.ClassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wxd
 * @since 2022-03-08
 */
@Service
public class ClassServiceImpl extends ServiceImpl<ClassMapper, Class> implements ClassService {
    @Override
    public List<Class> selectAllClassAndTeacher() {
        return baseMapper.selectAllClassAndTeacher();
    }
}
